package com.lingx.web.api;

import java.util.concurrent.atomic.AtomicLong;

public class ApiBean {
	public ApiBean(int apicode,String name,String groupName,boolean islog) {
		this.apicode=apicode;
		this.total=new AtomicLong();
		this.maxTime=0;
		this.lastTime=0;
		this.errorNum=0;
		
		this.name=name;
		this.groupName=groupName;
		this.isLog=islog;
	}
	private int apicode;
	private String name;
	private String groupName;
	private boolean isLog;
	private AtomicLong total;
	private long maxTime;
	private long lastTime;
	private long errorNum;
	public int getApicode() {
		return apicode;
	}
	public void setApicode(int apicode) {
		this.apicode = apicode;
	}
	public AtomicLong getTotal() {
		return total;
	}
	public void setTotal(AtomicLong total) {
		this.total = total;
	}
	public long getMaxTime() {
		return maxTime;
	}
	public void setMaxTime(long maxTime) {
		this.maxTime = maxTime;
	}
	public long getErrorNum() {
		return errorNum;
	}
	public void setErrorNum(long errorNum) {
		this.errorNum = errorNum;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public boolean getIsLog() {
		return isLog;
	}
	public void setIsLog(boolean isLog) {
		this.isLog = isLog;
	}
	public long getLastTime() {
		return lastTime;
	}
	public void setLastTime(long lastTime) {
		this.lastTime = lastTime;
	}
	
}
